<template>
  <div id="app">
    <div>
      <span class="title">shopping</span>
      <shop-cart class="shop-cart" />
    </div>
    <router-view />
  </div>
</template>

<script>
import shopCart from './components/shop-cart'
export default {
  name: 'App',
  components: {
    shopCart
  }
}
</script>

<style>
#app {
  width: 980px;
  margin: 0 auto;
  padding: 10px;
}

.shop-cart {
  float: right;
}

.title {
  font-size: 20px;
  color: #333;
}

.el-breadcrumb {
  padding: 20px 0;
}
</style>
